package cn.tedu._02notice.controller;

import cn.tedu._02notice.pojo.dto.UserLoginParam;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/v1/user")
@RestController
public class UserController {
    @RequestMapping("/login")
    public String login(@RequestBody UserLoginParam userLoginParam) {

        System.out.println("userLoginParam = " + userLoginParam);
        return "登录成功";
    }
}
